package com.aaa.behind.service.impl;

import com.aaa.entity.GDeposit;
import com.aaa.behind.dao.GDepositMapper;
import com.aaa.behind.service.IGDepositService;
import com.aaa.util.PageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 保存方式 服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-01-30
 */
@Service
public class GDepositServiceImpl extends ServiceImpl<GDepositMapper, GDeposit> implements IGDepositService {


    @Autowired
    private GDepositMapper gDepositMapper;

    @Override
    public IPage findDepositByCondition(PageInfo pageInfo, GDeposit gDeposit) {
        return gDepositMapper.findDepositByCondition(pageInfo,gDeposit);
    }

    @Override
    public List<GDeposit> findAllDeposit() {
        return gDepositMapper.findAllDeposit();
    }


}
